package hunt.treasure.types;

import java.util.ArrayList;
import java.util.List;

import org.andengine.entity.sprite.Sprite;

public class Terrain {
	public static final int TERRAIN_COUNT = 5;
	public static final int DESERT = 0;
	public static final int RIVER = 1;
	public static final int SWAMP = 2;
	public static final int PLAIN = 3;
	public static final int FOREST = 4;

	private int mTerrainType = DESERT;
	private boolean isHidden = false;
	private List<Item> mItemList = new ArrayList<Item>();
	private Sprite mTerrainSprite;

	public Terrain(int terrainType) {
		this.mTerrainType = terrainType;
	}

	public Terrain(int terrainType, boolean isHidden) {
		this.mTerrainType = terrainType;
		this.isHidden = isHidden;
	}

	public void setHidden(boolean isHidden) {
		this.isHidden = isHidden;
	}

	public boolean isHidden() {
		return isHidden;
	}

	public int getTerrainType() {
		return mTerrainType;
	}

	public List<Item> getItemList() {
		return mItemList;
	}

	public void setItemList(List<Item> itemList) {
		mItemList = itemList;
	}

	public void setTerrainSprite(Sprite terrainSprite) {
		mTerrainSprite = terrainSprite;
	}

	public Sprite getTerrainSprite() {
		return mTerrainSprite;
	}
}
